﻿using MediatR;
using SmartTracking.Domain.Sheep;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.SheepFarm_command
{
    public class GetSheepFarmCommand:IRequest<ApiResult<ApiPaging<SheepFarm>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 羊场名称
        /// </summary>
        public string? FarmName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersonInCharge { get; set; }
    }
}
